#pragma once
/*
 * Copyright Heng_Xin. All rights reserved.
 *
 * @Author: Heng_Xin
 * @Date: 2025-01-14 19:42:04
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *	  https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
#ifndef _HX_HEAD_H_
#define _HX_HEAD_H_

#include <cstdio>
#include <iostream>
#include <string>

inline void look(const std::string& str) {
    static struct _ {
        explicit _(const std::string& str) {
            std::cout << str << '\n';
        }
    } _{str};
}

inline int i;

void fun1();

struct Dog {
    // inline 下面和上面至少 二选一
    inline void eat();
};

// inline 下面和上面至少 二选一
void Dog::eat() {}

inline void myShow();

#endif // !_HX_HEAD_H_